package com.neuedu.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.IsAutoIncrement;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

// 直播表实体类
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ec_live_stream")
public class LiveStream {
    @TableId(type = IdType.AUTO)
    @IsAutoIncrement
    @Column(comment = "直播ID")
    private Integer lsid;

    @Column(comment = "直播标题")
    private String title;

    @Column(comment = "直播开始时间")
    private String startTime;

    @Column(comment = "直播结束时间")
    private String endTime;

    @Column(comment = "直播状态，0: 预告，1: 直播中，2: 已结束")
    private Integer status;

    @Column(comment = "直播流地址")
    private String streamUrl;

    @Column(comment = "直播间ID")
    private String roomId;
}